package com.guigu.buy.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author com.guigu
 * @since 2024-05-15
 */
@TableName("storage_details")
public class StorageDetails implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer parentId;

    private Integer productId;

    private String productName;

    private Integer amount;

    private Double costPrice;

    private Double subtotal;

    private Integer storageTotal;

    private String gatherTag;

    private Integer gatherId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public Double getCostPrice() {
        return costPrice;
    }

    public void setCostPrice(Double costPrice) {
        this.costPrice = costPrice;
    }

    public Double getSubtotal() {
        return subtotal;
    }

    public void setSubtotal(Double subtotal) {
        this.subtotal = subtotal;
    }

    public Integer getStorageTotal() {
        return storageTotal;
    }

    public void setStorageTotal(Integer storageTotal) {
        this.storageTotal = storageTotal;
    }

    public String getGatherTag() {
        return gatherTag;
    }

    public void setGatherTag(String gatherTag) {
        this.gatherTag = gatherTag;
    }

    public Integer getGatherId() {
        return gatherId;
    }

    public void setGatherId(Integer gatherId) {
        this.gatherId = gatherId;
    }

    @Override
    public String toString() {
        return "StorageDetails{" +
            "id = " + id +
            ", parentId = " + parentId +
            ", productId = " + productId +
            ", productName = " + productName +
            ", amount = " + amount +
            ", costPrice = " + costPrice +
            ", subtotal = " + subtotal +
            ", storageTotal = " + storageTotal +
            ", gatherTag = " + gatherTag +
            ", gatherId = " + gatherId +
        "}";
    }
}
